package org.nightrunner.d3.service;

import java.io.Serializable;
import java.util.List;

import org.nightrunner.d3.entity.Property;
import org.nightrunner.d3.model.IPaginationInfo;
import org.nightrunner.d3.model.PaginationModel;

/**
 * Property Service interface
 * 
 * @author NightRunner
 * @date 2012-7-26
 * @version 1.0
 */
public interface IPropertyService {

	PaginationModel<List<Property>> getProperty();

	PaginationModel<List<Property>> getPropertys(IPaginationInfo pagination);

	void deleteProperty(Property property);

	Property getProperty(String propertyId);

	Serializable addProperty(Property property);

	List<Property> getAllProperty();

	void updateProperty(Property property);
}